import request from "@/utils/request";

// 保交房情况-项目概况
export const constructionGetBjlProject = (params: any) => {
  return request({
    url: "/screen/construction/getBjlProject",
    method: "get",
    params: params,
  });
};

// 保交房情况-各城市交付套数排名
export const constructionGetBjlProjectRanking = (params: any) => {
  return request({
    url: "/screen/construction/getBjlProjectRanking",
    method: "post",
    data: params,
  });
};

// 保交房情况-各城市交付率排名
export const constructionGetProjectRate = (params: any) => {
  return request({
    url: "/screen/construction/getProjectRate",
    method: "get",
    params: params,
  });
};

// 保交房情况-项目交付风险监测
export const constructionGetProjectFxjc = (params: any) => {
  return request({
    url: "/screen/construction/getProjectFxjc",
    method: "post",
    data: params,
  });
};

// 保交房情况-获取所有项目经纬度
export const constructionGetProjectLocation = (params: any) => {
  return request({
    url: "/screen/construction/getProjectLocation",
    method: "get",
    params: params,
  });
};
